<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>

<div class="col-mb-12 col-tb-8 col-tb-offset-2">
    <div class="error-page">
        <div class="error-page-container">
            <div class="error-page-icon">
                <i class="fas fa-exclamation-circle"></i>
            </div>
            
            <h2 class="error-page-title">404 - <?php _e('页面没找到'); ?></h2>
            
            <div class="error-page-description">
                <p><?php _e('抱歉，您访问的页面不存在或已被删除。'); ?></p>
                <p><?php _e('您可以尝试：'); ?></p>
                <ul>
                    <li><?php _e('检查输入的网址是否正确'); ?></li>
                    <li><?php _e('返回上一页'); ?></li>
                    <li><?php _e('使用下面的搜索功能'); ?></li>
                </ul>
            </div>

            <div class="error-page-search">
                <form method="post" action="<?php $this->options->siteUrl(); ?>">
                    <div class="search-input-group">
                        <input type="text" name="s" class="text" placeholder="<?php _e('搜索什么...'); ?>" required />
                        <button type="submit" class="submit">
                            <i class="fas fa-search"></i>
                        </button>
                    </div>
                </form>
            </div>

            <div class="error-page-actions">
                <a href="<?php $this->options->siteUrl(); ?>" class="btn primary-btn">
                    <i class="fas fa-home"></i> <?php _e('返回首页'); ?>
                </a>
                <a href="javascript:history.back();" class="btn">
                    <i class="fas fa-arrow-left"></i> <?php _e('返回上页'); ?>
                </a>
            </div>
        </div>
    </div>
</div>

<?php $this->need('footer.php'); ?>

</```
rewritten_file>